import CModalForm from "@/components/CModalForm";
import NewCategory from "@/pages/news/category/list"
import {CModalFormProps} from "@/components/CModalForm/type";
import {Button} from "antd";

export default () => {
  // @ts-ignore
  const formProps: CModalFormProps<any> = {
    trigger: <Button type="primary" >分类管理</Button>,
    groupList: [],
    submitter: {
      resetButtonProps: {
        style: {
          display: "none"
        }
      },
      submitButtonProps: {
        style: {
          display: "none"
        }
      },
  }
  }
  return (
    <CModalForm {...formProps}>
      <NewCategory></NewCategory>
    </CModalForm>
  )
}
